package com.cbw.dao;

import com.cbw.bean.Express;
import java.util.ArrayList;

public interface ExpressDao {
    Express add(Express express);//添加快递

    boolean checkFull(); //判满

    Express removeByCode(int code);//通过取件码删除快递

    boolean removeByNumber(String number);//通过快递单号删除快递

    int findByNumber(String number);

    Express modify(Express oldExpress, Express newExpress);//修改快递信息

    ArrayList<Express>getAll();//获取装快递的集合
}